AudioRoute

Audio route

This enum defines the audio output route location.

Response Scenarios

RouteValueDescription
SPEAKERPHONE0Speaker
EARPIECE1Earpiece

Entries

Link copied to clipboard

Speaker, using speaker to play (i.e., "hands-free"), located at the bottom of the phone, louder sound, suitable for playing music out loud.

Link copied to clipboard

Earpiece, using earpiece to play, located at the top of the phone, quieter sound, suitable for private call scenarios.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.